package com.matt.domain.care;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 餐食记录
 */
@Entity
@Data
@Table(name = "hl_more_record")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class HLMoreRecord extends HLCareBaseRecord {


    @Column(columnDefinition = " datetime COMMENT '时间'")
    private Date time;

    @ApiModelProperty("更多类型")
    @Column(columnDefinition =" int(3) DEFAULT 0 COMMENT '更多类型 0.喂奶  1.换尿布 ' ")
    private Integer  moreType;

    @ApiModelProperty("食物类型")
    @Column(columnDefinition =" varchar(30) DEFAULT 母乳 COMMENT '食物类型 母乳  配方奶 1水 ' ")
    private String  foodType;

    @ApiModelProperty("食量")
    @Column(columnDefinition =" int(3) DEFAULT 0 COMMENT '食量 0.正常  1.量多  2.量少 ' ")
    private Integer  quantity;

    @Column(columnDefinition = " int default 0 COMMENT '水量， 毫升mm'")
    private Integer liquidQuantity;

    @ApiModelProperty("照片")
    @Column(columnDefinition =" varchar(500)  COMMENT '照片' ")
    private String img;

    @ApiModelProperty("类型")
    @Column(columnDefinition =" int(3) DEFAULT 0 COMMENT '类型 0.小便  1.大便 ' ")
    private Integer  type;

    @ApiModelProperty("颜色")
    @Column(columnDefinition =" int(3) DEFAULT 0 COMMENT '颜色 0.正常  1.偏黄 2.偏黑  3.偏绿  4.其他 ' ")
    private Integer  color;

    @ApiModelProperty("形态")
    @Column(columnDefinition =" int(3) DEFAULT 0 COMMENT '形态 0.正常  1.偏稀  2.偏硬' ")
    private Integer  pottyState;

    @Column(columnDefinition = " bit(1) default 0 COMMENT '有无腹痛腹泻'")
    private Boolean diarrhea = false;

    @Column(columnDefinition = " bit(1) default 0  COMMENT '有无便秘'")
    private Boolean constipation = false;

    @Column(columnDefinition = " bit(1) default 0  COMMENT '小便有无不适'")
    private Boolean uncomfortable = false;

    @Column(columnDefinition = " bit(1) default 0 COMMENT '更换尿布'")
    private Boolean diaper = false;

    @Column(columnDefinition = " bit(1) default 0 COMMENT '红屁屁'")
    private Boolean monkeyAss = false;

}
